package com.hethongviet.vending.model;

public class MachineInfo extends Model
{
	private String code = "";
	private int boxAmount = 0;
	private long dateCreated = 0;
	private long dateTerminated = 0;

	private int groupId = 0;
	private double latitude = 0;
	private int locationId = 0;
	private double longitude = 0;
	private String staffCreate = "";

	private String staffTerminate = "";
	private String staffUpdate = "";
	private int status = 0;
	private int statusRent = 0;

	private String phoneNumber = "";
	private String addressPhysical = "";
	private String addressPhysicalSerial = "";
	private String domainName = "http://localhost";
	private int domainPort = 1234;

	private String usernameNetwork = "";
	private String passwordNetwork = "";
	private String databaseNetwork = "";
	
	public MachineInfo()
	{
	}

	public MachineInfo(final String code, final int boxAmount,
			final long dateCreated, final long dateTerminated,

			final int groupId, final double latitude, final int locationId,
			final double longitude, final String staffCreate,

			final String staffTerminate, final String staffUpdate,
			final int status, final int statusRent,

			final String phoneNumber, final String addressPhysical,
			final String addressPhysicalSerial, final String domainName,
			final int domainPort)
	{
		this.code = code;
		this.boxAmount = boxAmount;
		this.dateCreated = dateCreated;
		this.dateTerminated = dateTerminated;

		this.groupId = groupId;
		this.latitude = latitude;
		this.locationId = locationId;
		this.longitude = longitude;
		this.staffCreate = staffCreate;

		this.staffTerminate = staffTerminate;
		this.staffUpdate = staffUpdate;
		this.status = status;
		this.statusRent = statusRent;

		this.phoneNumber = phoneNumber;
		this.addressPhysical = addressPhysical;
		this.addressPhysicalSerial = addressPhysicalSerial;
		this.domainName = domainName;
		this.domainPort = domainPort;

	}

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public int getBoxAmount()
	{
		return boxAmount;
	}

	public void setBoxAmount(int boxAmount)
	{
		this.boxAmount = boxAmount;
	}

	public long getDateCreated()
	{
		return dateCreated;
	}

	public void setDateCreated(long dateCreated)
	{
		this.dateCreated = dateCreated;
	}

	public long getDateTerminated()
	{
		return dateTerminated;
	}

	public void setDateTerminated(long dateTerminated)
	{
		this.dateTerminated = dateTerminated;
	}

	public int getGroupId()
	{
		return groupId;
	}

	public void setGroupId(int groupId)
	{
		this.groupId = groupId;
	}

	public double getLatitude()
	{
		return latitude;
	}

	public void setLatitude(double latitude)
	{
		this.latitude = latitude;
	}

	public int getLocationId()
	{
		return locationId;
	}

	public void setLocationId(int locationId)
	{
		this.locationId = locationId;
	}

	public double getLongitude()
	{
		return longitude;
	}

	public void setLongitude(double longitude)
	{
		this.longitude = longitude;
	}

	public String getStaffCreate()
	{
		return staffCreate;
	}

	public void setStaffCreate(String staffCreate)
	{
		this.staffCreate = staffCreate;
	}

	public String getStaffTerminate()
	{
		return staffTerminate;
	}

	public void setStaffTerminate(String staffTerminate)
	{
		this.staffTerminate = staffTerminate;
	}

	public String getStaffUpdate()
	{
		return staffUpdate;
	}

	public void setStaffUpdate(String staffUpdate)
	{
		this.staffUpdate = staffUpdate;
	}

	public int getStatus()
	{
		return status;
	}

	public void setStatus(int status)
	{
		this.status = status;
	}

	public int getStatusRent()
	{
		return statusRent;
	}

	public void setStatusRent(int statusRent)
	{
		this.statusRent = statusRent;
	}

	public String getPhoneNumber()
	{
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber)
	{
		this.phoneNumber = phoneNumber;
	}

	public String getAddressPhysical()
	{
		return addressPhysical;
	}

	public void setAddressPhysical(String addressPhysical)
	{
		this.addressPhysical = addressPhysical;
	}

	public String getAddressPhysicalSerial()
	{
		return addressPhysicalSerial;
	}

	public void setAddressPhysicalSerial(String addressPhysicalSerial)
	{
		this.addressPhysicalSerial = addressPhysicalSerial;
	}

	public String getDomainName()
	{
		return domainName;
	}

	public void setDomainName(String domainName)
	{
		this.domainName = domainName;
	}

	public int getDomainPort()
	{
		return domainPort;
	}

	public void setDomainPort(int domainPort)
	{
		this.domainPort = domainPort;
	}

	public String getUsernameNetwork()
	{
		return usernameNetwork;
	}

	public void setUsernameNetwork(String usernameNetwork)
	{
		this.usernameNetwork = usernameNetwork;
	}

	public String getPasswordNetwork()
	{
		return passwordNetwork;
	}

	public void setPasswordNetwork(String passwordNetwork)
	{
		this.passwordNetwork = passwordNetwork;
	}

	public String getDatabaseNetwork()
	{
		return databaseNetwork;
	}

	public void setDatabaseNetwork(String databaseNetwork)
	{
		this.databaseNetwork = databaseNetwork;
	}

}
